home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 May / macformat-037.iso / Shareware City / Applications / Home Accounting a4p3f1 FAT / Help Resources / Help Resources.rsrc / TEXT_177_Scripting.txt < prev    next >
Encoding:
Text File  |  1995-11-01  |  2.3 KB  |  49 lines

  1. SCRIPTING:
  2.  
  3. At present Home Accounting is not setup to be scripted. This is feature set for the beta phase of developement. However, as development continues in the alpha phase several high level Apple events will be recognized.
  4.  
  5. At present the following is supported:
  6.  
  7. 'oapp'
  8.  
  9. Open application (should only be used to launch Home Accounting).
  10.  
  11. 'odoc'
  12.  
  13. Open document. Send a file alias or list of file aliases (data base or preferences).
  14.  
  15. 'pdoc'
  16.  
  17. Print document. Send a file alias or list of file aliases (data base or preferences).
  18.  
  19. 'quit'
  20.  
  21. Quit application. This accepts the optional 'savo' (save options) parameter; 'ask ', 'yes ' or 'no  '.
  22.  
  23. Ask allows user interaction if needed to close a window, data base or the application if any are dirty.
  24.  
  25. Yes, forces saves weither anything is dirty or not.
  26.  
  27. No forces a quit without saveing regardless of the dirty status of anything.
  28.  
  29.  
  30. Under developement:
  31.  
  32. 'sdoc'
  33.  
  34.  Save document. A file name is optional (as well as a path or partial path). The document to save can be referenced by name or session number. If no document reference is supplied, then the document with the current session is saved.
  35.  
  36. 'stxt'
  37.  
  38.  Save document as text. A file name, creator and type are optional (as well as a path or partial path). The document to save as text can be referenced by name or session number. If no document reference is supplied, then the document with the current session is saved as text.
  39.  
  40. 'cwin'
  41.  
  42. Close window. Supply the window name. The document name or session number is optional. By default the current session is used. Several windows may not close because they are dirty. This situation hasn't been resolved.
  43.  
  44. 'cdoc'
  45.  
  46. Close document. The document name or session number is optional. By default the current session is used. The document may not close because it is dirty. This situation hasn't been resolved.
  47.  
  48.  
  49. There is much more planned, but it is to early in the developement phase to spend a lot of time on this. Since what things are stored and what information is managed and since each release can produce a complete rewrite, it would be a big waist of time rewritting the scripting system to keep up. I believe in getting an application up and running with all features working before adding frills (scripting, 3D interface, cute animations, speech and such), that don't really provide any real benefit to my target users.